import { defineManifest } from "@crxjs/vite-plugin";

export default defineManifest({
  name: "My Tab",
  version: "1.0.0",
  manifest_version: 3,
  description: "My Tab Description",
  action: {
    default_popup: "view/popup/index.html",
  },
  background: {
    service_worker: "background.js",
  },
  permissions: ["tabs", "sidePanel"],
  host_permissions: ["<all_urls>"],
  chrome_url_overrides: {
    newtab: "view/newtab/index.html",
  },
  side_panel: {
    default_path: "view/sidepanel/index.html",
  },
});